/* Copyright (c) 2015 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

//
//  GTLYouTubeCommentThreadSnippet.h
//

// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
//   YouTube Data API (youtube/v3)
// Description:
//   Programmatic access to YouTube features.
// Documentation:
//   https://developers.google.com/youtube/v3
// Classes:
//   GTLYouTubeCommentThreadSnippet (0 custom class methods, 6 custom properties)

#if GTL_BUILT_AS_FRAMEWORK
  #import "GTL/GTLObject.h"
#else
  #import "GTLObject.h"
#endif

@class GTLYouTubeComment;

// ----------------------------------------------------------------------------
//
//   GTLYouTubeCommentThreadSnippet
//

// Basic details about a comment thread.

@interface GTLYouTubeCommentThreadSnippet : GTLObject

// Whether the current viewer of the thread can reply to it. This is viewer
// specific - other viewers may see a different value for this field.
@property (nonatomic, retain) NSNumber *canReply;  // boolValue

// The YouTube channel the comments in the thread refer to or the channel with
// the video the comments refer to. If video_id isn't set the comments refer to
// the channel itself.
@property (nonatomic, copy) NSString *channelId;

// Whether the thread (and therefore all its comments) is visible to all YouTube
// users.
@property (nonatomic, retain) NSNumber *isPublic;  // boolValue

// The top level comment of this thread.
@property (nonatomic, retain) GTLYouTubeComment *topLevelComment;

// The total number of replies (not including the top level comment).
@property (nonatomic, retain) NSNumber *totalReplyCount;  // unsignedIntValue

// The ID of the video the comments refer to, if any. No video_id implies a
// channel discussion comment.
@property (nonatomic, copy) NSString *videoId;

@end
